#ifndef _ExportPlist_h_
#define _ExportPlist_h_

#include "Performance.h"

#define PLIST_FRAME 0

class ExportPlist
{
private:
	char*	spriteName;
	int		plistType; // default PLIST_FRAME
	SpriteAurora* sprite;

public:
	ExportPlist();	
	~ExportPlist();

	//set sprite name and load 
	void setSpriteName ( char * spriteName );
	
	//set plist type : frame, anim..
	void setPlistType ( int plistType );

	//out put	
	char* getOutFile();

	//begin //write header
	void begin();

	//end //write footer
	void end();

	//export image infor
	void exportTexture();

	//export frame infor
	void exportFrame();

	//export define
	void exportDefine();

	//export  plist infor with plist type
	void exportPlist();


};

#endif